<html>

<head>
<title>Run Configurations</title>
<meta content="Run Configurations,Project Explorer,Running Scripts" name="keywords">
</head>

<body bgcolor="#FFFCEA">

<table bgcolor="#C0C0C0" border="0" cellpadding="2" cellspacing="0" width="100%">
	<tr>
		<td align="left">
		<div align="left">
			<font color="#010101" face="Arial" size="4">
			<span style="font-size: 14pt; font-family: Arial; color: #010101">Run 
			Configurations</span></font></div>
		</td>
		<td align="right"><font face="Arial" size="2">
		<a href="runningscripts.htm">Previous</a>&nbsp;<a href="pyscripter.htm">Top</a>&nbsp;<a href="postmortemanalysis.htm">Next</a>
		</font></td>
	</tr>
</table>
<hr>
<div align="left">
	<font face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #000000">Using the
	</span></font><a href="theprojectexplorer.htm">
	<font color="#0000ff" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #0000ff"><u>Project 
	Explorer</u></span></font></a><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #000000">, 
	you can create multiple Run Configurations which offer some more advanced options 
	than those available when you run/debug the active script.&nbsp; You can create 
	run configurations by selecting &quot;Add Run Configuration&quot; from the context 
	menu of the &quot;Run Configurations&quot; node of the Project Explorer.&nbsp; 
	The following dialog box is then displayed.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial">
	<span style="font-size: 12pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<img alt="graphic" border="0" src="runconfigurations1.JPG" style="width: 25.10em; height: 29.15em"></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">Here follows 
	an explanation of the main fields:</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Description 
	(optional):</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">A short description 
	of the purpose of this run configuration.&nbsp; It is currently only used as 
	a hint, when hover the mouse on top of the run configuration in the project 
	explorer.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>File Name:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">The name of 
	the script you would like to run.&nbsp; You can select a local or remote 
	file using the buttons next to the edit box.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Parameters:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">Command line 
	parameters that are placed in the argv list of the Python sys module before 
	running or debugging scripts.&nbsp; Note that the script name is automatically 
	inserted as the first argument and should not be specified here.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Working 
	Directory:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">If specified 
	the current directory will be changed to this one before running the script 
	and restored back to the original one at the end of the run.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Python 
	Engine:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">The engine 
	with which you would like to run or debug the script.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Reinitialze 
	Before Run;</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">If checked, 
	the Python engine will be reinitialized before running the script.&nbsp; This 
	is necessary with some GUI scripts.&nbsp; This option is not available with 
	the internal Python engine.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Save Output:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">If checked 
	the output of the script will be saved to the specified file.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Output 
	File Name:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">The path of 
	the output file.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Append 
	to File:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">If checked 
	output will be appended to that of earlier runs.&nbsp; Otherwise the most recent 
	output will overwrite earlier output.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i>Set External 
	Run properties:</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">Press this 
	button to specify the options for running the script with an external Python 
	interpreter. The various settings are the same as in the </span></font>
	<a href="externaltools.htm"><font color="#0000ff" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #0000ff"><u>External 
	Tools</u></span></font></a><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #000000"> 
	configuration.&nbsp; By default output is captured and shown at the </span>
	</font><a href="outputwindow.htm">
	<font color="#0000ff" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #0000ff"><u>Output 
	window</u></span></font></a><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #000000">.</span></font></div>
<div align="left">
	<font face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #000000"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">In entering 
	the File Name, Parameters, Working Directory and Output file name you can use
	</span></font><a href="parameters.htm">
	<font color="#0000ff" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #0000ff"><u>parameters 
	and modifiers</u></span></font></a><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #000000">.</span></font></div>
<div align="left">
	<font face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #000000"><br>
	</span></font></div>
<div align="left">
	<font face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #000000"><b>Executing 
	Run Configurations</b></span></font></div>
<div align="left">
	</div>
<div align="left">
	<font face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #000000">After defining 
	a Run Configuration you can execute it in three different ways, by selecting 
	the appropriate command from its context menu in the Project Explorer:</span></font></div>
<div align="left">
	<font face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #000000"><br>
	</span></font></div>
<div align="left" style="margin-left: 6mm; margin-right: 0mm; text-indent: -6mm; margin-top: 0.00mm; margin-bottom: 0.00mm;">
	<font color="#010101" face="Symbol" size="2">
	<span style="font-size: 10pt; font-family: Symbol; color: #010101">&middot;</span></font><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101">&nbsp;&nbsp; &nbsp;&nbsp;</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #000000">Run
	</span></font></div>
<div align="left" style="margin-left: 6mm; margin-right: 0mm; text-indent: -6mm; margin-top: 0.00mm; margin-bottom: 0.00mm;">
	<font color="#010101" face="Symbol" size="2">
	<span style="font-size: 10pt; font-family: Symbol; color: #010101">&middot;</span></font><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101">&nbsp;&nbsp; &nbsp;&nbsp;</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #000000">Debug</span></font></div>
<div align="left" style="margin-left: 6mm; margin-right: 0mm; text-indent: -6mm; margin-top: 0.00mm; margin-bottom: 0.00mm;">
	<font color="#010101" face="Symbol" size="2">
	<span style="font-size: 10pt; font-family: Symbol; color: #010101">&middot;</span></font><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101">&nbsp;&nbsp; &nbsp;&nbsp;</span></font><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #000000">External 
	Run</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i><br>
	</i></span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">After the 
	first execution you can use the commands</span></font></div>
<div align="left" style="margin-left: 6mm; margin-right: 0mm; text-indent: -6mm; margin-top: 0.00mm; margin-bottom: 0.00mm;">
	<font color="#010101" face="Symbol" size="2">
	<span style="font-size: 10pt; font-family: Symbol; color: #010101">&middot;</span></font><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101">&nbsp;&nbsp; &nbsp;&nbsp;Run 
	last script (Shift+Ctrl+F9)</span></font></div>
<div align="left" style="margin-left: 6mm; margin-right: 0mm; text-indent: -6mm; margin-top: 0.00mm; margin-bottom: 0.00mm;">
	<font color="#010101" face="Symbol" size="2">
	<span style="font-size: 10pt; font-family: Symbol; color: #010101">&middot;</span></font><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101">&nbsp;&nbsp; &nbsp;&nbsp;Debug 
	last script (Shift+F9)</span></font></div>
<div align="left" style="margin-left: 6mm; margin-right: 0mm; text-indent: -6mm; margin-top: 0.00mm; margin-bottom: 0.00mm;">
	<font color="#010101" face="Symbol" size="2">
	<span style="font-size: 10pt; font-family: Symbol; color: #010101">&middot;</span></font><font color="#010101" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: #010101">&nbsp;&nbsp; &nbsp;&nbsp;Run 
	last script externally(Shift+Alt+F9)</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">to run/debug 
	the last run configuration again.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><br>
	</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101">This commands 
	are available from the toolbar of the Project Explorer.</span></font></div>
<div align="left">
	<font color="#010101" face="Arial" size="2">
	<span style="font-size: 10pt; font-family: Arial; color: #010101"><i><br>
	</i></span></font></div>
<div align="left">
&nbsp;&nbsp;</div>

</body>

</html>
